package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 索引图表响应体
 *
 * @author EX-ZHOUYONG005
 * @date 2018-10-26
 */
@ApiModel(description = "索引视图响应体")
public class DashboardIndexSummaryInfoChartResult {

    @ApiModelProperty("数据日期")
    private Date dataDate;

    @ApiModelProperty("索引平均耗时")
    private Double avgCost = 0D;

    @ApiModelProperty("成功次数")
    private Integer successNum = 0;

    @ApiModelProperty("总次数")
    private Integer totalNum = 0;

    @ApiModelProperty("索引平均耗时")
    private Double recordCost = 0D;

    @ApiModelProperty("成功率")
    private Double successRate = 0D;

    public Date getDataDate() {
        return dataDate;
    }

    public void setDataDate(Date dataDate) {
        this.dataDate = dataDate;
    }

    public Double getAvgCost() {
        return avgCost;
    }

    public void setAvgCost(Double avgCost) {
        this.avgCost = avgCost;
    }

    public Integer getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(Integer successNum) {
        this.successNum = successNum;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public Double getRecordCost() {
        return recordCost;
    }

    public void setRecordCost(Double recordCost) {
        this.recordCost = recordCost;
    }

    public Double getSuccessRate() {
        return successRate;
    }

    public void setSuccessRate(Double successRate) {
        this.successRate = successRate;
    }
}
